package cn.itcast.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 封装个股行情数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IndexKlineBean {

    private String tradeDate; //格式化时间 2021-12-01
    private String indexCode;
    private String indexName;
    private BigDecimal preClosePrice;
    private BigDecimal openPrice;
    private BigDecimal highPrice;
    private BigDecimal lowPrice;
    private BigDecimal closePrice;
    private Long tradeVolDay;//日成交总量
    private Long tradeAmtDay;//日成交总金额
    private Long eventTime; //事件时间 1638348308167
    private String source; //数据源
    private int klineType; //K线类型

}
